// 动态获取静态资源
export function getAssetsFile(url) {
  const imgPath = `/src/assets/images/${url}`
  return new URL(imgPath, import.meta.url).href
}
export function getAssetsImage(fileName, url) {
  const imgPath = `/src/assets/images/${fileName}/${url}`
  return new URL(imgPath, import.meta.url).href
}
